home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / init.d / pppd-dns < prev    next >
Text File  |  2008-10-15  |  408b  |  17 lines

  1. #!/bin/sh -e
  2. ### BEGIN INIT INFO
  3. # Provides:          pppd-dns
  4. # Required-Start:    $local_fs
  5. # Required-Stop:
  6. # Default-Start:     S
  7. # Default-Stop:
  8. # Short-Description: Restore resolv.conf if the system crashed.
  9. ### END INIT INFO
  10. #
  11. # Restore /etc/resolv.conf if the system crashed before the ppp link
  12. # was shut down.
  13.  
  14. [ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
  15.     && exec /etc/ppp/ip-down.d/0000usepeerdns
  16.  
  17.